package com.itheima.d01_foodmanager.entity;

/**
 * 菜品实体类：存储菜品信息
 */
public class Food {
    private String id;//菜品编号
    private String name;//菜品名称
    private double price;//菜品价格
    private double discount;//菜品折扣价格
    private String info;//菜品描述信息

    public Food() {
    }

    public Food(String id, String name, double price, double discount, String info) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.discount = discount;
        this.info = info;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
